toContentInfoCompat

@RequiresApi(value = 31)
@NonNull
open fun toContentInfoCompat(@NonNull platContentInfo: @NonNull ContentInfo): @NonNull ContentInfoCompat(source)

Provides a backward-compatible wrapper for ContentInfo.

This method is not supported on devices running SDK <= 30 since the platform class will not be available.

Return

wrapped class

Parameters

platContentInfo

platform class to wrap, must not be null